package com.question_barrier.service;

import com.question_barrier.entity.AnswerState;

public interface AnswerStateService {
    /**
     *获取所有的问题状态
     */
    AnswerState findByOpenId(String OpenId);
    boolean existsByOpenId(String openId);
    boolean existsByOpenIdAndQuestionId(String openId, String questionId);
    int insAnswerState(AnswerState answerState);
    AnswerState findByOpenIdAndQuestionId(String openId, String questionId);
    int updAnswerState(AnswerState answerState);
}
